package routers

import (
	"github.com/gin-gonic/gin"
	"krm_backend/routers/auth"
	"krm_backend/routers/cluster"
	"krm_backend/routers/namespace"
	"krm_backend/routers/pod"
)

func RegisterRouters(r *gin.Engine) {
	apiGroup := r.Group("/api")
	auth.RegisterSubRouters(apiGroup)
	cluster.RegisterSubRouter(apiGroup)
	namespace.RegisterSubRouter(apiGroup)
	pod.RegisterSubRouter(apiGroup)
}
